@import 'element-plus/dist/index.css';
// @import "element-plus/theme-chalk/dark/css-vars.css";
@import "element-plus/theme-chalk/el-notification.css";
$tabSplitMenuWidth: 65px;

// 默认样式
:root {
  --el-menu-bg-color: #233;
  --el-fill-color-blank: #fff;
  --el-menu-hover-bg-color: #433;
  --el-app-theme-drawer-border: #4382bc;
  --el-app-theme-drawer-color: #1890ff;
  --el-app-theme-drawer-bg: rgba(24, 143, 255, 0.12);
  .el-table {
    --el-table-tr-bg-color: transparent;
    background-color: transparent;
  }
}

// 绚丽黑
html.trobl_theme_dark {
  color-scheme: dark;
  --el-color-primary: #409eff;
  --el-color-primary-light-3: #3375b9;
  --el-color-primary-light-5: #2a598a;
  --el-color-primary-light-7: #213d5b;
  --el-color-primary-light-8: #1d3043;
  --el-color-primary-light-9: #18222c;
  --el-color-primary-dark-2: #66b1ff;
  --el-color-success: #67c23a;
  --el-color-success-light-3: #4e8e2f;
  --el-color-success-light-5: #3e6b27;
  --el-color-success-light-7: #2d481f;
  --el-color-success-light-8: #25371c;
  --el-color-success-light-9: #1c2518;
  --el-color-success-dark-2: #85ce61;
  --el-color-warning: #e6a23c;
  --el-color-warning-light-3: #a77730;
  --el-color-warning-light-5: #7d5b28;
  --el-color-warning-light-7: #533f20;
  --el-color-warning-light-8: #3e301c;
  --el-color-warning-light-9: #292218;
  --el-color-warning-dark-2: #ebb563;
  --el-color-danger: #f56c6c;
  --el-color-danger-light-3: #b25252;
  --el-color-danger-light-5: #854040;
  --el-color-danger-light-7: #582e2e;
  --el-color-danger-light-8: #412626;
  --el-color-danger-light-9: #2b1d1d;
  --el-color-danger-dark-2: #f78989;
  --el-color-error: #f56c6c;
  --el-color-error-light-3: #b25252;
  --el-color-error-light-5: #854040;
  --el-color-error-light-7: #582e2e;
  --el-color-error-light-8: #412626;
  --el-color-error-light-9: #2b1d1d;
  --el-color-error-dark-2: #f78989;
  --el-color-info: #909399;
  --el-color-info-light-3: #6b6d71;
  --el-color-info-light-5: #525457;
  --el-color-info-light-7: #393a3c;
  --el-color-info-light-8: #2d2d2f;
  --el-color-info-light-9: #202121;
  --el-color-info-dark-2: #a6a9ad;
  --el-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, 0.36), 0px 8px 20px rgba(0, 0, 0, 0.72);
  --el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, 0.72);
  --el-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, 0.72);
  --el-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, 0.72), 0px 12px 32px #000000, 0px 8px 16px -8px #000000;
  --el-bg-color-page: #0a0a0a;
  --el-bg-color: #141414;
  --el-bg-color-overlay: #1d1e1f;
  --el-text-color-primary: #E5EAF3;
  --el-text-color-regular: #CFD3DC;
  --el-text-color-secondary: #A3A6AD;
  --el-text-color-placeholder: #8D9095;
  --el-text-color-disabled: #6C6E72;
  --el-border-color-darker: #636466;
  --el-border-color-dark: #58585B;
  --el-border-color: #4C4D4F;
  --el-border-color-light: #414243;
  --el-border-color-lighter: #363637;
  --el-border-color-extra-light: #2B2B2C;
  --el-fill-color-darker: #424243;
  --el-fill-color-dark: #39393A;
  --el-fill-color: #303030;
  --el-fill-color-light: #262727;
  --el-fill-color-lighter: #1D1D1D;
  --el-fill-color-extra-light: #191919;
  --el-fill-color-blank: transparent;
  --el-mask-color: rgba(0, 0, 0, 0.8);
  --el-mask-color-extra-light: rgba(0, 0, 0, 0.3)
}

html.trobl_theme_dark .el-button {
  --el-button-disabled-text-color: rgba(255, 255, 255, 0.5)
}

html.trobl_theme_dark .el-card {
  --el-card-bg-color: var(--el-bg-color-overlay)
}
html.trobl_theme_dark .el-menu-item.is-active {
  background-color: var(--el-color-primary) !important;
  color: #fff!important;
}
html.trobl_theme_dark .el-empty {
  --el-empty-fill-color-0: var(--el-color-black);
  --el-empty-fill-color-1: #4b4b52;
  --el-empty-fill-color-2: #36383d;
  --el-empty-fill-color-3: #1e1e20;
  --el-empty-fill-color-4: #262629;
  --el-empty-fill-color-5: #202124;
  --el-empty-fill-color-6: #212224;
  --el-empty-fill-color-7: #1b1c1f;
  --el-empty-fill-color-8: #1c1d1f;
  --el-empty-fill-color-9: #18181a;
  --el-layout-border: #414243;

  // 菜单选中文本颜色
  --el-menu-active-color: #fff;
  --el-menu-hover-bg-color: #233;
  --el-menu-hover-text-color: #fffafa;

  .el-button {
    --el-button-disabled-text-color: rgba(255, 255, 255, 0.5)
  }

  .el-empty {
    --el-empty-fill-color-0: var(--el-color-black);
    --el-empty-fill-color-1: #4b4b52;
    --el-empty-fill-color-2: #36383d;
    --el-empty-fill-color-3: #1e1e20;
    --el-empty-fill-color-4: #262629;
    --el-empty-fill-color-5: #202124;
    --el-empty-fill-color-6: #212224;
    --el-empty-fill-color-7: #1b1c1f;
    --el-empty-fill-color-8: #1c1d1f;
    --el-empty-fill-color-9: #18181a
  }

}

// 黑白调主题
html.trobl_theme_light {
  // 高对比度
  --el-bg-color-dark: #fff;
  // 高对比度搭配文字
  --el-bg-text-color-dark: #333;
  // 页面主题
  color-scheme: light;
  // 页面背景颜色
  --el-background-color-base: #fcfcfc;
  // 模块层颜色
  --el-bg-color-overlay: #fcfcfc;
  // 页面主色
  --el-color-primary: #1890ff;
  --el-color-primary-light-3: #1890ff;
  --el-color-primary-light-5: #1890ff;
  --el-color-primary-light-7: #1890ff;
  --el-color-primary-light-8: #1890ff;
  --el-color-primary-light-9: #1890ff;
  --el-color-primary-dark-2: #1890ff;
  // 文字主要颜色
  --el-text-color-primary: #333;
  // 常规文字颜色
  --el-text-color-regular: #666;
  // 次要文字颜色
  --el-text-color-secondary: #666;
  // 占位文字颜色
  --el-text-color-placeholder: #cccccc;
  // 菜单颜色
  --el-menu-bg-color: #001524;
  // 菜单选中文本颜色
  --el-menu-active-color: #fff;
  --el-menu-hover-bg-color: #233;
  --el-menu-hover-text-color: #fffafa;
  // 边框颜色
  --el-border-color: #ddd;
  // 二级边框颜色
  --el-border-color-light: #ddd;
  // 三级边框颜色
  --el-border-color-lighter: #ddd;
  // 四级边框颜色
  --el-border-color-extra-light: #ddd;
  // layout border颜色
  --el-layout-border: #ddd;
  // 阴影
  --el-box-shadow: 0px 12px 32px 4px #ff9d5c, 0px 8px 20px #ff9d5c;
  --el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, 0.12);
  --el-box-shadow-lighter: 0px 0px 12px rgba(0, 0, 0, 0.2);
  --el-box-shadow-dark: 00px 0px 12px rgba(0, 0, 0, 0.12);
  --el-fill-color-blank: #fff;
  --el-color-primary: #409eff;
  --el-color-primary-light-3: #79bbff;
  --el-color-primary-light-5: #a0cfff;
  --el-color-primary-light-7: #c6e2ff;
  --el-color-primary-light-8: #d9ecff;
  --el-color-primary-light-9: #ecf5ff;
  --el-color-primary-dark-2: #337ecc;
  --el-color-success: #67c23a;
  --el-color-success-light-3: #95d475;
  --el-color-success-light-5: #b3e19d;
  --el-color-success-light-7: #d1edc4;
  --el-color-success-light-8: #e1f3d8;
  --el-color-success-light-9: #f0f9eb;
  --el-color-success-dark-2: #529b2e;
  --el-color-warning: #e6a23c;
  --el-color-warning-light-3: #eebe77;
  --el-color-warning-light-5: #f3d19e;
  --el-color-warning-light-7: #f8e3c5;
  --el-color-warning-light-8: #faecd8;
  --el-color-warning-light-9: #fdf6ec;
  --el-color-warning-dark-2: #b88230;
  --el-color-danger: #f56c6c;
  --el-color-danger-light-3: #f89898;
  --el-color-danger-light-5: #fab6b6;
  --el-color-danger-light-7: #fcd3d3;
  --el-color-danger-light-8: #fde2e2;
  --el-color-danger-light-9: #fef0f0;
  --el-color-danger-dark-2: #c45656;
  --el-color-error: #f56c6c;
  --el-color-error-light-3: #f89898;
  --el-color-error-light-5: #fab6b6;
  --el-color-error-light-7: #fcd3d3;
  --el-color-error-light-8: #fde2e2;
  --el-color-error-light-9: #fef0f0;
  --el-color-error-dark-2: #c45656;
  --el-color-info: #909399;
  --el-color-info-light-3: #b1b3b8;
  --el-color-info-light-5: #c8c9cc;
  --el-color-info-light-7: #dedfe0;
  --el-color-info-light-8: #e9e9eb;
  --el-color-info-light-9: #f4f4f5;
  --progress-success-color: var(--el-color-success-light-9);
  --progress-warning-color: var(--el-color-warning-light-9);
  --progress-error-color: var(--el-color-error-light-9);

  --progress-info-color: var(--el-color-info-light-8);
  // 模块背景颜色 table表头等
  --el-bg-color: var(--el-bg-color-dark);
  // 禁用文字颜色
  --el-text-color-disabled: #9f9f9f;
  --el-mask-color: #8aedd5;
  --el-mask-color-extra-light: #8aedd5;
  --el-card-bg-color: var(--el-bg-color-overlay);
  --el-proper-bg-color-dark: #333;
  --el-proper-text-color-dark: #fff;
  --el-bg-color: var(--el-bg-color-overlay);
  .el-switch__label.is-active {
    color: #9f9f9f
  }
  .el-menu-item.is-active {
    background-color: var(--el-color-primary) !important;
    color: #fff!important;
  }
}

// 落日余晖主题
html.trobl_theme_fruit {
  // 高对比度
  --el-bg-color-dark: #0f3333;
  // 高对比度搭配文字
  --el-bg-text-color-dark: #ffc;
  --el-proper-text-color-dark: var(--el-bg-text-color-dark);
  // 页面主题
  color-scheme: dark;
  // 页面背景颜色
  --el-background-color-base: #ff9d5c;
  // 模块层颜色
  --el-bg-color-overlay: rgb(236, 149, 98);
  // 页面主色
  --el-color-primary: #ffb7a5;
  --el-color-primary-light-3: #ffcec4;
  --el-color-primary-light-5: #ffd9cf;
  --el-color-primary-light-7: #ffe4da;
  --el-color-primary-light-8: #fff0eb;
  --el-color-primary-light-9: #fff5f2;
  --el-color-primary-dark-2: #fffafa;
  // 文字主要颜色
  --el-text-color-primary: #fff;
  // 常规文字颜色
  --el-text-color-regular: #fff0eb;
  // 次要文字颜色
  --el-text-color-secondary: #fff5f2;
  // 占位文字颜色
  --el-text-color-placeholder: #cccccc;
  // 菜单颜色
  --el-menu-bg-color: #ff9d5c;
  // 菜单选中文本颜色
  --el-menu-active-color: #fffafa;
  --el-menu-hover-bg-color: var(--el-bg-color-overlay);
  --el-menu-hover-text-color: #fffafa;
  // 填充颜色
  --el-fill-color-darker: #ffd9cf;
  --el-fill-color-dark: #ffd9cf;
  --el-fill-color: #ffd9cf;
  --el-fill-color-light: #f8987e;
  --el-fill-color-lighter: #f8987e;
  --el-fill-color-extra-light: #ffd9cf;
  --el-fill-color-blank: var(--el-bg-color-overlay);
  // 深色边框颜色
  --el-border-color-darker: #ffc2a8;
  --el-border-color-dark: #ffd1bb;
  // 边框颜色
  --el-border-color: #ffc2a8;
  // 二级边框颜色
  --el-border-color-light: #ffc2a8;
  // 三级边框颜色
  --el-border-color-lighter: #f2f2f2;
  // 四级边框颜色
  --el-border-color-extra-light: #f2f2f2;
  // layout border颜色
  --el-layout-border: #ffc2a8;
  // 阴影
  --el-box-shadow: 0px 12px 32px 4px #ff9d5c, 0px 8px 20px #ff9d5c;
  --el-box-shadow-light: 0px 0px 12px #ffcec4;
  --el-box-shadow-lighter: 0px 0px 6px #ffd9cf;
  --el-box-shadow-dark: 0px 0px 12px 0px #ffe4da, 0px 12px 32px #ffd9cf, 0px 8px 16px -8px #ffcec4;

  // 成功颜色
  --el-color-success: #fff;
  --el-color-success-light-3: #B0CDBE;
  --el-color-success-light-5: #C4D8CF;
  --el-color-success-light-7: #D8E3DF;
  --el-color-success-light-8: #ECF0EE;
  --el-color-success-light-9: #77cba2;
  --el-color-success-dark-2: #f8e6c8;
  --progress-success-color: var(--el-color-success-light-9);
  // 警告颜色
  --el-color-warning: #02048F;
  --el-color-warning-light-3: #fdfb70;
  --el-color-warning-light-5: #faf977;
  --el-color-warning-light-7: #f7f68e;
  --el-color-warning-light-8: #f5f4a5;
  --el-color-warning-light-9: #fdfb70;
  --el-color-warning-dark-2: #02048F;
  --progress-warning-color: var(--el-color-warning-light-9);
  // 错误
  --el-color-error: #fff;
  --el-color-error-light-3: #f68f68;
  --el-color-error-light-5: #f9795b;
  --el-color-error-light-7: #f56d4e;
  --el-color-error-light-8: #f2613f;
  --el-color-error-light-9: #f68;
  --el-color-error-dark-2: #097097;
  --progress-error-color: var(--el-color-error-light-9);

  // 普通颜色
  --el-color-info: #9f9f9f;
  --el-color-info-light-3: #8aedd5;
  --el-color-info-light-5: #8aedd5;
  --el-color-info-light-7: #8aedd5;
  --el-color-info-light-8: #8aedd5;
  --el-color-info-light-9: #fff0e0;
  --el-color-info-dark-2: #8aedd5;
  --progress-info-color: var(--el-color-info-light-8);
  // 模块背景颜色
  --el-bg-color: var(--el-background-color-base);
  // 禁用文字颜色
  --el-text-color-disabled: #9f9f9f;
  --el-mask-color: #8aedd5;
  --el-mask-color-extra-light: #8aedd5;
  --el-card-bg-color: var(--el-bg-color-overlay) --el-proper-bg-color-dark: var(--el-bg-color-dark);

  // table表头
  .el-table {
    --el-table-header-bg-color: transparent;
  }
  .el-switch__label.is-active {
    color: #9f9f9f
  }
  .el-menu-item.is-active {
    background-color: var(--el-color-primary) !important;
    color: #fff;
  }
}

.el-card {
  --el-card-bg-color: var(--el-bg-color-overlay)
}

.el-aside {
  background-color: var(--el-menu-bg-color);
  border-right: 1px solid var(--el-layout-border);
}

// 下拉框使用高对比度
.el-dropdown-menu {
  background-color: var(--el-bg-color-dark);
}

.el-popper.is-light .el-popper__arrow::before {
  background-color: var(--el-bg-color-dark);
}

.el-popper.is-dark {
  color: var(--el-proper-text-color-dark);
  background: var(--el-proper-bg-color-dark);
  border: 1px solid var(--el-proper-bg-color-dark);
}

.el-popper.is-dark .el-popper__arrow::before {
  background-color: var(--el-proper-bg-color-dark);
}

.el-icon {
  color: var(--el-text-color-primary)
}

.el-progress-bar__inner {
  background-color: var(--progress-info-color) !important;
}

.el-progress.is-success .el-progress-bar__inner {
  background-color: var(--progress-success-color) !important;
}

.el-progress.is-warning .el-progress-bar__inner {
  background-color: var(--progress-warning-color) !important;
}

.el-progress.is-error .el-progress-bar__inner {
  background-color: var(--progress-error-color) !important;
}

.el-progress.is-info .el-progress-bar__inner {
  background-color: var(--progress-info-color) !important;
}

#app {
  background-color: var(--el-background-color-base);
}